package com.javase.homework.module2;

//第三步：实体类的优化 将通话套餐类和上网套餐类中相同的特征和行为提取出来组成抽象套餐类。
public abstract class Package {

    private double monthCost;

    public Package(double monthCost) {
        this.monthCost = monthCost;
    }

    public Package() {
    }

    public double getMonthCost() {
        return monthCost;
    }

    public void setMonthCost(double monthCost) {
        this.monthCost = monthCost;
    }

    public abstract void show();

}
